package com.niit.dao;

import com.niit.pojo.Place;

import java.util.List;

public interface PlaceMapper {
    List<Place> selectAllPlace();

    int addPlace(Place place);

    Place selectPlaceByName(int place_id);

    int deletePlaceById(int place_id);
    int selectIdByName(String name);
    int updatePlace(Place place);
}
